package com.dz.finance.wechat.service;

import com.dz.finance.wechat.enums.WeChatMessageEnum;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;


/*
 * 策略接口
 * */
public interface WeChatMessageStrategy {

    /*
     * 获取当前消息类型
     * */
    WeChatMessageEnum getTypeMsg();

    /*
     * 推送事件
     * */
    void publishMessage(Object event);


    /*
    * 获取需要推送的对象类
    * */
    Object getCurrent(String xmlContent) throws IOException;


}
